package com.hongdee.crm.carConfig.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017/2/20.
 */
@Entity
@Table(name = "T_CRM_CAR_REF")
public class TCrmCarRef extends BaseEntity{
    /**
     * 角色ID SA、客服、接待专员（保险）
     */
    @Column(name = "role_id",length = 32,columnDefinition = " VARCHAR(32) COMMENT '角色ID' ")
    private String roleId;
    /**
     * 用户ID
     */
    @Column(name = "u_id",length = 32,columnDefinition = " VARCHAR(32) COMMENT '用户ID' ")
    private String uId;
    /**
     * 分配类型 0全部、1 尾号、2 尾数、3 VIN、
     */
    @Column(name = "type",length = 1,columnDefinition = " VARCHAR(1) COMMENT '分配类型' ")
    private String type;
    /**
     * 值 根据type存的值
     */
    @Column(name = "value",columnDefinition = " longtext COMMENT '值' ")
    private String value;
    /**
     * 群组
     */
    @Column(name = "group_code",length = 32,columnDefinition = " VARCHAR(32) COMMENT '群组' ")
    private String groupCode;
    /**
     * 公司ID
     */
    @Column(name = "company_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '公司ID' ")
    private String companyId;
    /**
     * 状态 1启用 0停用
     */
    @Column(name = "status",length = 1,columnDefinition = " VARCHAR(1) COMMENT '状态' ")
    private String status;

    /**
     *
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     *
     * @param status String
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     *
     * @return roleId
     */
    public String getRoleId() {
        return roleId;
    }

    /**
     *
     * @param roleId String
     */
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    /**
     *
     * @return uId
     */
    public String getuId() {
        return uId;
    }

    /**
     *
     * @param uId String
     */
    public void setuId(String uId) {
        this.uId = uId;
    }

    /**
     *
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     *
     * @param type String
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     *
     * @return value
     */
    public String getValue() {
        return value;
    }

    /**
     *
     * @param value String
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     *
     * @return groupCode
     */
    public String getGroupCode() {
        return groupCode;
    }

    /**
     *
     * @param groupCode String
     */
    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    /**
     *
     * @return companyId
     */
    public String getCompanyId() {
        return companyId;
    }

    /**
     *
     * @param companyId String
     */
    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
